home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / doom / quake.zip / GIBSTA_1.ZIP / ZWISCH.TXT < prev   
Text File  |  1997-05-04  |  3KB  |  71 lines

  1.  Warning
  2. -------
  3. If you do not know what this file does than do yourself a favour and do not change it.
  4. If you have read through the file and think that this sounds complicate then do not change it.
  5. In any case make a backup copy of the file, which you can restore.
  6.  
  7.  
  8. How to customise the GibStats for other patches
  9. -----------------------------------------------
  10.  
  11. You can customise this file, if you encounter a patch which has other than the normal messages.
  12. If you have changed the file and it does work than send me a mail, so that I can include it in the next version.
  13. At the moment these messages support Quake DM and CTF 3.x (ThreeWave) and higher.
  14. Never forget the spaces in front or after a message!!!!!!!!!!!!!!(If there are any)
  15. Do not create empty lines with spaces!!!!! Do not use a comma in the file (commentaries), unless it is used to separate the messages.
  16. Lines starting with a "/" are ignored (but do not put a comma on such a line).
  17. The parser always looks for "message 1". If it has found it then it either looks for "message 2" (if there is any) and then it extracts the names included in the message by subtracting the messages. Therefor it will get the names wrong if the messages are not complete.
  18. This also means that only messages can be analysed which follow these patterns:
  19. [PlayerName][Message1][PlayerName][Message2] or
  20. [PlayerName][Message1]
  21.  
  22.  
  23. Formats of messages
  24. -------------------
  25. The format of a messages (parser) is:
  26.  
  27. Format 1:
  28. " message1 "," message2 ", [what]
  29.  message1 = the text between the name of the killer and the target
  30.  message2 = the text after the name of the killer
  31.  
  32. Format 2:
  33. " message1 ","",[what]
  34. message1 = the text that comes after the first and only player name in the message
  35.  
  36.  
  37. Types of messages
  38. -----------------
  39. [what] is the type of score. The following types are available:
  40. 1 = kill = Type 1
  41. 2 = suicide = Type 2
  42. 3 = Flagge capture = 
  43. 4 = Flag Defense = 
  44. 5 = Flag Return = 
  45. 6 = Flag Carrier Defense = 
  46. 7 = Enemy Flag Carier Kill
  47. 8,9,10 = Assits = 
  48.  
  49.  
  50. Example
  51. -------
  52. If the parser is supposed to read the following message correctly:
  53. eg: "Fritz was gibbed by Heinz rocket"
  54.  
  55. It needs the following information:
  56. message1=" was gibbed by "
  57. message2=" rocket"
  58. [what] = 1
  59.  
  60. Therefor the line for the parser to understand count a kill correctly and identify the two players should read:
  61. " was gibbed by ", " rocket", 1
  62.  
  63.  
  64. Do not send me a mail if GibStats does not work anymore after you changed something in the zwisch.dat file. Restore the original!!!!
  65.  
  66.  
  67. Have fun and a great day
  68.  
  69. Fritz
  70.  
  71.